<div class="content">
<h1>Danh sách người dùng</h1>
<table id="table" style="font-size: 12px;"> 
	<thead> 
		<tr> 
			<th>Tên đăng nhập</th> 
			<th>Tên thật</th> 
			<th>Chức vụ</th> 
			<th>Thuộc danh sách</th> 
			<th>Ngày tạo</th> 
			<th>Sửa</th> 
			<th>Xóa</th> 
		</tr> 
	</thead> 
	<tbody> 
	<?php 
	foreach($alluser as $user){

	?>
		<tr class="gradeX"> 
			<td><?php echo "<b>".$user->ten_nguoidung."</b>" ?></td> <!-- ten dang nhap -->
			<td><?php echo $user->tenthat_nguoidung?></td> <!-- ten that -->
			<td align="center"><?php echo $user->chucvu_nguoidung ?></td> <!-- chuc vu -->
			<td align="center"><?php echo isset($listLich[$user->phongban_nguoidung])? $listLich[$user->phongban_nguoidung] : "Không rõ"; ?>
			</td> <!-- thuoc danh sach -->
			<td align="center"><?php echo $user->date_nguoidung?></td> <!-- ngay tao -->
			<td align="center"><a href="<?php echo base_url()."user/viewedit/".$user->id_nguoidung?>">Sửa</a></td> <!-- sua -->
			<td align="center"><a onclick="delsubmit('<?php echo $user->id_nguoidung?>')">Xóa</a></td> <!-- xoa -->	
		</tr> 
	<?php }?>	 
	</tbody> 
</table>
<div style="clear:both"></div>
</div></div>